export default {
	state:{
		theme: 'dark',
		
		categoryType: (name) => {
			console.log(name)
			let that = this;
			switch(name){
				case "军事":
				case "都市":
				case "武侠":
				case "悬疑":
				case "玄幻":
				return "#4a5362";
				
				case "古言":
				case "现言":
				return "#ffadad";
				
				default:
				return "#6f78a7";
				
			}
			
			
		}
	},
	
	
}